SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c4e8d5d6842cfa4ffe2a9ea74f54b02d5ffed61dd5d6cbdf34f22fe2917726b5' 
  AND token = 'LaTr1g5qXilchNRR1Hky57gehcxFm3lO2X+jk1/Og28=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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