SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '249d4bfee110368c08fe0daaef13cf30ee3ee3bd5829e4f509b1bf0cfbe2d50e' 
  AND token = 'dbaBSo0ew79tOTa1AYPPDjDRkPPpHqmEUQMqoS0cECE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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