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

Query time 0.00036

JSON explain

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