SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f43de219728b026c6086779c486d99d3322ffc552c92d3ced0c26c4edb2d87d' 
  AND token = 'p7XqT3BIfboYxLxMWBtplzo6jITsT1VacGU9TtI/3Sw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00067

JSON explain

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