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

Query time 0.00037

JSON explain

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