SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8aa6e0ec9139ab3535d0a33e595c2527fc747c1438cf8918538fa6eb93be2a9e' 
  AND token = 'lf27+3nICbOF/txjcb67yh3Bp1s73RKFFugfroSDzzc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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