SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1bad0ae42a05c53af9f35878d8536a122cd636d2a1756a761b7216b6f9814109' 
  AND token = 'foMbrqWo0ubUJ2vBYEEQXKxcUH9obadEYj0jb7fve9Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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