SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '138d2d54332e5e0f6afd8f7af12f778b89153392e5b9bec33002335e339c7b49' 
  AND token = 'p5EHCp6mabkInvOPWGO4ObX1bagnJOSt8hiqPNyqf+E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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