SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '97ab063e21cc1f23408cc0d07bbcb2a040a62c76d8308eedeea2979d834ad52f' 
  AND token = '0cseinpnksipBhyy7d7AaOF7572IX9bjzxrCYwTH69Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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