SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '398a8e7978e8fee95cf7ddb3b0966118905091ad56896e341c53415b5f1c6013' 
  AND token = 'VxBqy7i0KGWW9/GBYf9nNpEMNQDMS1eiBA7rpvZbDws=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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