SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '28cc08a25c4a154847a498e812de9ef9e217f21c323564d82bd98527bfa84caf' 
  AND token = '6HaC7bVB+vHoWSkWU0YRswE9IWomKh32bLj8QWC0EU0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}