SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c25d48380ce99dfb1946d52ef71552ebd6c18fc9f068f542ba997aa462e9247' 
  AND token = 'idknkvhDR+snB0XeXbrHJh8moCgplpcrYQP3TPTctpE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}