SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af063cef0793c9dbd17aad6a851e5ab8042b15fa2b132db1add8018067ef6909' 
  AND token = 'PT5bZutSscKfMRqtRQFh1gV0rTWYeFL6f2PaqsQ2iTE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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