SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e18e1d0aabff4f8732a07452172c7842d21c83c1a51c1efd8ea709c9bbf5339' 
  AND token = 'PKSNoOtKun+494BSpAs5pePpeo2366oVHbv/dR2tZf8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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