SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba4142e41de548cfa6e12d540716bfb9607c70f74dd151d51e995bb066c972eb' 
  AND token = 'KdL9+78dXCIEBZrHoaPB1jwIEj6mK6B8vSESrhKGaNM=' 
  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"
    }
  }
}