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

Query time 0.00037

JSON explain

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