SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '817fd72a76042798aa1a9af034182533941a76d2306d3056c81fcbbfb3576ebe' 
  AND token = '64Iu/YEsSOo34Xa59/cxYTvoxoBb4/VGTda5mH3KZik=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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