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

Query time 0.00025

JSON explain

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