SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '19b4a15616e221fcd7aa2c87415967f5643bdd6ace60e90df1bc45d8839fb7c5' 
  AND token = '79PsnkMhhk1Toee+6iRWpymLXdQ6w6EhDz73R/bM3do=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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