SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9540dbc7ebe7224a1b574a425a0ffac55ede72dcb9763f966731d21d55bfe8c0' 
  AND token = 'aB9jz4m7NreSjd8+zA37pP9ZPV7RUCNonjwEgCekLj0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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