SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1aaa926da0176f02e6db82649dda717104c36909532fdc54500daae034f45b79' 
  AND token = 'YnB5N7ahQGuXfKdiIj0Ns+NFFOC3UokYwiRiOM1Ttzg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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