SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f17e8b6d072647809f474436785cca3cebe74e3a4b0b30cfa93ebcf37e7fbf9e' 
  AND token = 'kAbJ0zU8JPpGFJtS30G4zWjjoayzzdvzncFDpipc4R0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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