SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a2885e56640e68d79575fd87b9796625e7df319e098750ee31a9ff875255b90c' 
  AND token = 'HLLmvcxIYuLG8lHHqHH7Wegidv7VQsj/jaHQiKO7oFc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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