SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '41823384fa968bd0db185cb8adf3c59db49fbabde39c1cc9217edce94ec70efd' 
  AND token = 'ta5d0HjGO8n0fnhb02M5Dfto2hhzcnmiGkglVesp19w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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