SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0255a5feeee6d65d4a9b11eb83d055fd0b84033f9e45c7e2f7653b220edc96e0' 
  AND token = 'W+gw2sCZlOTwSW3XF18+kW7rXKZiVEFSmaZxLm7hHTk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}