SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77965bcffbaa6fd81003053365f31d210580761d2390762a0aef7a8c66ed0ef0' 
  AND token = '2d2qvzjh4fj4eaV7scKmQELvwSPRUWeErQ96113r1oA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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