SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3f067a1f312d942d7da5e8632bb70f59ed923b964622700f0c08458531e269a4' 
  AND token = 'B4yR1CMaABqAJWvn116Y2OOOlI4Mq6pIdYVn0cdpZUw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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