SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ac502c5904b9f05d8149a51a9162e5fa29a80f46fa7bb8fe06ef97a0e2ea2af' 
  AND token = 'CRFqlSHlO8LXq0RGpbWGROqLNnXwmmLlb6JzhEdZVv4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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